﻿using HelperFromTheSkeleton.Model.DomainModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authority.Doamin.View
{
    /// <summary>
    /// 用户视图
    /// </summary>
    public class UserRoleInfoView:BaseDomain
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNumber { get; set; } = string.Empty;

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = string.Empty;

        /// <summary>
        /// 微信用户标识
        /// </summary>
        public string? WeCathOpenID { get; set; }

        /// <summary>
        /// 角色信息
        /// </summary>
        public List<RoleView> RoleInfos { get; set; } = new List<RoleView>();
    }
}
